<template>
	<view class="loading">
		
	</view>
</template>

<script>
	import wechat from '@/common/wechat.js'
	export default {
		data() {
			return {};
		},
		onLoad(option) {
			if (option.code) { 
				wechat.auth(option.code)
			} else if (option.auth_code) {
				wechat.alipayAuth(option.auth_code)
			}
		}
	}
</script>

<style lang="scss" scoped>
</style>
